<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2018/10/9
 * Time: 16:05
 * name:添加机构关系
 * url:/erpSchoolNotification/add_organization_correlation
 */

$ooc_oesid              = $route->bodyParams['ooc_oesid'];               //智能管理系统的机构id
$ooc_oid                = $route->bodyParams['ooc_oid'];                 //C端的机构id


//写入数组
$insertArr = [
    'ooc_oesid'              => $ooc_oesid,
    'ooc_oid'                => $ooc_oid,
];

//执行写入语句
$rsData = $db->mysqlDB->insert("oa_organization_correlation",$insertArr);

//返回成功结果
$response->responseData( true, $rsData );